import com.ynny.practice2.exercise.User;
import org.junit.jupiter.api.Test;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class UserTest {

    @Test
    public void test() {
        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("user.xml");
            User user =(User) context.getBean("user1");
            user.show();





    }
}
